﻿
using System;
using IScheduler.Core.Schedule;

namespace IScheduler.Base
{
    internal static class Program
    {
        static void Main(string[] args)
        {

            ScheduleService service = new ScheduleService();
#if DEBUG
            service.StartService();
            Console.ReadKey();
            service.StopService();
            Console.ReadKey();
#else
            ServiceBase.Run(service);
#endif

        }
    }
}
